home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
DEMOCIAL
/
DEMODBS3.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-03-20
|
3KB
|
103 lines
ECHO OFF
CLS
:START
ECHO dBASE III PLUS SAMPLER INSTALLATION
ECHO ┌──────────────────────────────────────────────────────────────┐
ECHO │ MEMORY AND DRIVE SELECTION │
ECHO │══════════════════════════════════════════════════════════════│
ECHO │ A. 256K and 2 floppy drives │
ECHO │ B. More than 256k and 2 floppy drives │
ECHO │ C. 256k and 1 floppy drive and 1 harddisk │
ECHO │ D. More than 256k and 1 floppy drive and 1 harddisk │
ECHO └──────────────────────────────────────────────────────────────┘
ERRSET Type the letter corresponding to your computer's configuration:
IF ERRORLEVEL 5 GOTO START
IF ERRORLEVEL 4 GOTO D
IF ERRORLEVEL 3 GOTO C
IF ERRORLEVEL 2 GOTO B
IF ERRORLEVEL 1 GOTO A
:A
CLS
ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
ECHO (Remember to remove any write protect tabs from disk)
PAUSE
REN CONFIG.DB CONFIG.OLD
REN CONFI256.DB CONFIG.DB
B:
IF EXIST CONFIG.SYS REN CONFIG.SYS CONFIGS.OLD
A:
COPY A:CONFI256.SYS B:CONFIG.SYS
CLS
ECHO Now Reboot your computer with your Dos disk in drive A
ECHO (CONTROL - ALT - DEL) Then place Sampler Disk 1 in drive A
ECHO and type DBASE
GOTO END
:B
CLS
ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
ECHO (Remember to remove any write protect tabs from disk)
PAUSE
B:
IF EXIST CONFIG.SYS REN CONFIG.SYS CONFIGS.OLD
COPY A:CONFIG.SYS B:CONFIG.SYS
A:
CLS
ECHO Now Reboot your computer with your Dos disk in drive A
ECHO (CONTROL - ALT - DEL) Then place Sampler Disk 1 in drive A
ECHO and type DBASE
GOTO END
:C
C:
CD \
IF EXIST CONFIG.SYS
RENAME CONFIG.SYS CONFIGS.OLD
PAUSE
COPY A:CONFI256.SYS C:CONFIG.SYS
PAUSE
MD SAMPLER
CD \SAMPLER
CLS
ECHO Copying Sampler disk 1 files to drive C
COPY A:*.*
CLS
ECHO Place Sampler disk 2 in drive A
PAUSE
ECHO Copying Sampler disk 2 files to drive C
COPY A:*.*
CLS
ECHO Place Sampler disk 3 in drive A
PAUSE
ECHO Copying Sampler disk 3 files to drive C
COPY A:*.*
DEL CONFIG.DB
REN CONFI256.DB CONFIG.DB
CLS
ECHO Now Reboot your computer (CONTROL - ALT - DEL)
ECHO and type CD \SAMPLER, then type DBASE
GOTO END
:D
C:
CD \
IF EXIST CONFIG.SYS REN CONFIG.SYS CONFIGS.OLD
COPY A:CONFIG.SYS
MD SAMPLER
CD \SAMPLER
CLS
ECHO Copying Sampler disk 1 files to drive C
COPY A:*.*
CLS
ECHO Place Sampler disk 2 in drive A
PAUSE
ECHO Copying Sampler disk 2 files to drive C
COPY A:*.*
CLS
ECHO Place Sampler disk 3 in drive A
PAUSE
ECHO Copying Sampler disk 3 files to drive C
COPY A:*.*
CLS
ECHO Reboot your computer (CONTROL - ALT - DEL)
ECHO and type CD \SAMPLER, then type DBASE
GOTO END
:END